/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package parser;

import java.awt.Color;

/**
 *
 * @author nate
 */
public class MultiplicityPhrase implements Phrase, PhraseDecorator
{
    String multiplicityPhrase;

    MultiplicityPhrase(String num)
    {
        multiplicityPhrase = num;
    }
    
    public void Print()
    {
        System.out.println(multiplicityPhrase +":  I am a multiplicity phrase");
    }

    public Color getColor()
    {
        return Color.GRAY;
    }

    public String getValue()
    {
        return multiplicityPhrase;
    }
    public String getAssociations()
    {
        return null;
    }

    public String getType()
    {
        return "multiplicity";
    }
}
